function isFirefox() {
  return typeof InstallTrigger !== 'undefined'
}

function isChrome(context = window) {
  return !!context.chrome
}

export function setEvent() {
  let event = 'mouseover'
  if (isChrome() || isFirefox()) {
    event = 'focus'
  }
  return event
}
